package com.sservice.urp.entity;

import java.io.Serializable;

/**
 * 权限/资源表
 */
public class Permission implements Serializable {
    private static final long serialVersionUID = -8407419908557951145L;
    private Integer id;
    /**
     * 权限名称
     */
    private String permissionName;
    /**
     * 权限描述
     */
    private String description;
    /**
     * 权限类型1菜单权限，0数据访问权限
     */
    private Boolean type;
    /***
     * 权限UIR
     */
    private String url;
    /**
     * 备注
     */
    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName == null ? null : permissionName.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Boolean getType() {
        return type;
    }

    public void setType(Boolean type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}